package com.qububu.play.dineTogether.dto;

import com.qububu.utils.SystemUtil;

public class ActionPeopleDto {

	private String peopleId;
	private String peopleName;
	private String staffId;
	private String actionId;
	
	public String getPeopleId() {
		return peopleId;
	}

	public String getPeopleName() {
		return peopleName;
	}
	public void setPeopleName(String peopleName) {
		this.peopleName = peopleName;
	}
	public String getStaffId() {
		return staffId;
	}

	public String getActionId() {
		return actionId;
	}

	
	/**
	 * @功能 id加密
	 */
	public ActionPeopleDto(String peopleId, String staffId, String actionId){
		this.peopleId = peopleId;
		this.staffId = staffId;
		this.actionId = actionId;
	}
	
	public ActionPeopleDto(long peopleId, long staffId, long actionId){
		this.peopleId = SystemUtil.encrypt(String.valueOf(peopleId) );		
		this.staffId = SystemUtil.encrypt(String.valueOf(staffId) );
		this.actionId = SystemUtil.encrypt(String.valueOf(actionId) );
	}
}
